<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>
<jsp:useBean id="pageBean" scope="request" class="com.agileai.hotweb.domain.PageBean"/>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>团队人员</title>
<%@include file="/jsp/inc/resource.inc.jsp"%>
<script language="javascript">
</script>
</head>
<body>
<form action="<%=pageBean.getHandlerURL()%>" name="form1" id="form1" method="post">
<%@include file="/jsp/inc/message.inc.jsp"%>
<div id="__ParamBar__" style="float: right;">&nbsp;</div>
<div id="__ToolBar__">
<table border="0" cellpadding="0" cellspacing="1">
<tr>
   <td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" align="center" onclick="enableSave()" ><input value="&nbsp;" type="button" class="editImgBtn" id="modifyImgBtn" title="编辑" />编辑</td>
   <td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" align="center" onclick="doSubmit({actionType:'save'})"><input value="&nbsp;" type="button" class="saveImgBtn" id="saveImgBtn" title="保存" />保存</td>
   <td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" align="center" onclick="goToBack();"><input value="&nbsp;" type="button" class="backImgBtn" title="返回" />返回</td>
</tr>
</table>
</div>
<table class="detailTable" cellspacing="0" cellpadding="0">
<tr>
	<th width="100" nowrap>姓名</th>
	<td><input id="USER_NAME" label="姓名" name="USER_NAME" type="text" value="<%=pageBean.inputValue("USER_NAME")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>编码</th>
	<td><input id="USER_CODE" label="编码" name="USER_CODE" type="text" value="<%=pageBean.inputValue("USER_CODE")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>性别</th>
	<td><select id="USER_SEX" label="性别" name="USER_SEX" class="select"><%=pageBean.selectValue("USER_SEX")%></select>
</td>
</tr>
<tr>
	<th width="100" nowrap>岗位</th>
	<td><select id="PP_POST" label="岗位" name="PP_POST" class="select"><%=pageBean.selectValue("PP_POST")%></select>
</td>
</tr>
<%-- <tr>
	<th width="100" nowrap>状态</th>
	<td><input id="USER_STATE" label="状态" name="USER_STATE" type="text" value="<%=pageBean.inputValue("USER_STATE")%>" size="24" class="text" />
</td>
</tr> --%>
<tr>
	<th width="100" nowrap>邮箱</th>
	<td><input id="USER_MAIL" label="邮箱" name="USER_MAIL" type="text" value="<%=pageBean.inputValue("USER_MAIL")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>电话</th>
	<td><input id="USER_PHONE" label="电话" name="USER_PHONE" type="text" value="<%=pageBean.inputValue("USER_PHONE")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>人员类型</th>
	<td><select id="USER_TYPE" label="人员类型" name="USER_TYPE" class="select"><%=pageBean.selectValue("USER_TYPE")%></select>
	<%-- <input id="USER_TYPE_NAME" label="人员类型" name="USER_TYPE_NAME" readonly="readonly" type="text" value="<%=pageBean.inputValue("USER_TYPE_NAME")%>" size="24" class="text" />
		<input id="USER_TYPE" label="人员类型" name="USER_TYPE"  type="hidden" value="<%=pageBean.inputValue("USER_TYPE")%>" size="24" class="text" /> --%>
</td>
</tr>
<tr>
	<th width="100" nowrap>排序</th>
	<td><input id="PP_SORT" label="排序" name="PP_SORT" type="text" value="<%=pageBean.inputValue("PP_SORT")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>备注</th>
	<td><textarea id="USER_DESC" label="备注" name="USER_DESC" cols="40" rows="3" class="textarea"><%=pageBean.inputValue("USER_DESC")%></textarea>
</td>
</tr>
</table>
<input type="hidden" name="actionType" id="actionType" value=""/>
<input type="hidden" name="PI_ID" id="PI_ID" value="<%=pageBean.inputValue("PI_ID")%>" />
<input type="hidden" name="operaType" id="operaType" value="<%=pageBean.getOperaType()%>"/>
<input type="hidden" id="USER_ID" name="USER_ID" value="<%=pageBean.inputValue4DetailOrUpdate("USER_ID","")%>" />
</form>
<script language="javascript">
requiredValidator.add("USER_NAME");
requiredValidator.add("USER_CODE");
notChineseValidator.add("USER_CODE");
requiredValidator.add("USER_MAIL");
requiredValidator.add("PP_SORT");
intValidator.add("USER_SORT");
lengthValidators[0].set(60).add("USER_DESC");
initDetailOpertionImage();
emailValidator.add("USER_MAIL");
$(function(){
	if($('#PP_POST option:selected').val()=='PROJECTMASTER'){
		$('#PP_POST').hide();
		$("<input readonly='readonly'  type='text' value='"+$('#PP_POST option:selected').text()+"'  size='24' class='text' />").insertAfter("#PP_POST");  
	};	
})
</script>
</body>
</html>
<%@include file="/jsp/inc/scripts.inc.jsp"%>
